
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGProjectionCameraDecorator.h>
#include <OpenSG/OSGProjectionCameraDecoratorBase.h>
#include <OpenSG/OSGViewport.h>
#include <OpenSG/OSGDrawAction.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ProjectionCameraDecorator_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_ProjectionCameraDecorator()
{
    scope* osg_ProjectionCameraDecoratorBase_scope = new scope(
    class_< osg::ProjectionCameraDecoratorBase, bases< osg::StereoCameraDecorator > , boost::noncopyable >("ProjectionCameraDecoratorBase", no_init)
//        .def_readonly("UserFieldMask", &osg::ProjectionCameraDecoratorBase::UserFieldMask)
//        .def_readonly("SurfaceFieldMask", &osg::ProjectionCameraDecoratorBase::SurfaceFieldMask)
//        .def_readonly("LeftFieldMask", &osg::ProjectionCameraDecoratorBase::LeftFieldMask)
//        .def_readonly("BottomFieldMask", &osg::ProjectionCameraDecoratorBase::BottomFieldMask)
//        .def_readonly("NormalFieldMask", &osg::ProjectionCameraDecoratorBase::NormalFieldMask)
//        .def_readonly("WidthFieldMask", &osg::ProjectionCameraDecoratorBase::WidthFieldMask)
//        .def_readonly("HeightFieldMask", &osg::ProjectionCameraDecoratorBase::HeightFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ProjectionCameraDecoratorBase::MTInfluenceMask)
        .def("getClassType", &osg::ProjectionCameraDecoratorBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ProjectionCameraDecoratorBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ProjectionCameraDecoratorBase::*)() )&osg::ProjectionCameraDecoratorBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ProjectionCameraDecoratorBase::*)() const)&osg::ProjectionCameraDecoratorBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ProjectionCameraDecoratorBase::getContainerSize)
        //.def("getUser", (osg::NodePtr& (osg::ProjectionCameraDecoratorBase::*)() )&osg::ProjectionCameraDecoratorBase::getUser, return_value_policy< copy_const_reference >())
        .def("getUser", (const osg::NodePtr& (osg::ProjectionCameraDecoratorBase::*)() const)&osg::ProjectionCameraDecoratorBase::getUser, return_value_policy< copy_const_reference >())
        //.def("getWidth", (osg::Real32& (osg::ProjectionCameraDecoratorBase::*)() )&osg::ProjectionCameraDecoratorBase::getWidth, return_value_policy< copy_const_reference >())
        .def("getWidth", (const osg::Real32& (osg::ProjectionCameraDecoratorBase::*)() const)&osg::ProjectionCameraDecoratorBase::getWidth, return_value_policy< copy_const_reference >())
        //.def("getHeight", (osg::Real32& (osg::ProjectionCameraDecoratorBase::*)() )&osg::ProjectionCameraDecoratorBase::getHeight, return_value_policy< copy_const_reference >())
        .def("getHeight", (const osg::Real32& (osg::ProjectionCameraDecoratorBase::*)() const)&osg::ProjectionCameraDecoratorBase::getHeight, return_value_policy< copy_const_reference >())
        .def("getSurface", (osg::Pnt3f& (osg::ProjectionCameraDecoratorBase::*)(const osg::UInt32) )&osg::ProjectionCameraDecoratorBase::getSurface, return_value_policy< copy_non_const_reference >())
        .def("getSurface", (osg::MFPnt3f& (osg::ProjectionCameraDecoratorBase::*)() )&osg::ProjectionCameraDecoratorBase::getSurface, return_value_policy< copy_non_const_reference >())
        //.def("getSurface", (const osg::MFPnt3f& (osg::ProjectionCameraDecoratorBase::*)() const)&osg::ProjectionCameraDecoratorBase::getSurface, return_value_policy< copy_const_reference >())
        .def("setUser", &osg::ProjectionCameraDecoratorBase::setUser)
        .def("setWidth", &osg::ProjectionCameraDecoratorBase::setWidth)
        .def("setHeight", &osg::ProjectionCameraDecoratorBase::setHeight)
        .def("getBinSize", &osg::ProjectionCameraDecoratorBase::getBinSize)
        .def("copyToBin", &osg::ProjectionCameraDecoratorBase::copyToBin)
        .def("copyFromBin", &osg::ProjectionCameraDecoratorBase::copyFromBin)
        .def("create", &osg::ProjectionCameraDecoratorBase::create)
        .def("createEmpty", &osg::ProjectionCameraDecoratorBase::createEmpty)
        .def("shallowCopy", &osg::ProjectionCameraDecoratorBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("WidthFieldId") = (int)osg::ProjectionCameraDecoratorBase::WidthFieldId;
    scope().attr("NextFieldId") = (int)osg::ProjectionCameraDecoratorBase::NextFieldId;
    scope().attr("HeightFieldId") = (int)osg::ProjectionCameraDecoratorBase::HeightFieldId;
    scope().attr("SurfaceFieldId") = (int)osg::ProjectionCameraDecoratorBase::SurfaceFieldId;
    scope().attr("UserFieldId") = (int)osg::ProjectionCameraDecoratorBase::UserFieldId;
    scope().attr("BottomFieldId") = (int)osg::ProjectionCameraDecoratorBase::BottomFieldId;
    scope().attr("LeftFieldId") = (int)osg::ProjectionCameraDecoratorBase::LeftFieldId;
    scope().attr("NormalFieldId") = (int)osg::ProjectionCameraDecoratorBase::NormalFieldId;

    delete osg_ProjectionCameraDecoratorBase_scope;

    class_< osg::ProjectionCameraDecorator, bases< osg::ProjectionCameraDecoratorBase > , boost::noncopyable, osg::ProjectionCameraDecoratorRefPtr >("ProjectionCameraDecorator", no_init)
        .def("changed", &osg::ProjectionCameraDecorator::changed)
        .def("dump", &osg::ProjectionCameraDecorator::dump, osg_ProjectionCameraDecorator_dump_overloads_0_2())
        .def("getViewing", &osg::ProjectionCameraDecorator::getViewing)
        .def("getProjection", &osg::ProjectionCameraDecorator::getProjection)
        .def("getProjectionTranslation", &osg::ProjectionCameraDecorator::getProjectionTranslation)
    ;


    register_ptr_to_python<osg::ProjectionCameraDecoratorPtr>();
    implicitly_convertible<osg::ProjectionCameraDecoratorRefPtr, osg::ProjectionCameraDecoratorPtr>();
    implicitly_convertible<osg::ProjectionCameraDecoratorPtr, osg::StereoCameraDecoratorPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::ProjectionCameraDecoratorPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ProjectionCameraDecoratorPtr>);
}

